home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / lp.z / lp
Encoding:
Text File  |  2002-10-03  |  6.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. LLLLPPPP((((1111))))                           PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss                           LLLLPPPP((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      lp, cancel - send/cancel requests to an LP line printer
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      llllpppp [----cccc] [----dddddest] [----mmmm] [----nnnnnumber] [----oooooption] [----ssss] [----tttttitle] [----wwww] [----aaaa]
  13.      files
  14.      ccccaaaannnncccceeeellll [-a [printer]] [ids] [printers]
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _l_p arranges for the named files and associated information (collectively
  18.      called a _r_e_q_u_e_s_t) to be printed by a line printer.  If no file names are
  19.      mentioned, the standard input is assumed.  The file name ---- stands for the
  20.      standard input and may be supplied on the command line in conjunction
  21.      with named _f_i_l_e_s.  The order in which _f_i_l_e_s appear is the same order in
  22.      which they will be printed.
  23.  
  24.      _l_p associates a unique _i_d with each request and prints it on the standard
  25.      output.  This _i_d can be used later to cancel (see _c_a_n_c_e_l) or find the
  26.      status (see _l_p_s_t_a_t(1)) of the request.
  27.  
  28.      The _l_p command has the following options:
  29.  
  30.      ----cccc        Make copies of the _f_i_l_e_s to be printed immediately when _l_p is
  31.                invoked.  Normally, _f_i_l_e_s will not be copied, but will be
  32.                linked whenever possible (files that are not readable by the
  33.                user lp will always be copied).  If the ----cccc option is not given,
  34.                then the user should be careful not to remove any of the _f_i_l_e_s
  35.                before the request has been printed in its entirety.  It should
  36.                also be noted that in the absence of the ----cccc option, any changes
  37.                made to the named _f_i_l_e_s after the request is made but before it
  38.                is printed will be reflected in the printed output.
  39.  
  40.      ----dddd_d_e_s_t    Choose _d_e_s_t as the printer or class of printers that is to do
  41.                the printing.  If _d_e_s_t is a printer, then the request will be
  42.                printed only on that specific printer.  If _d_e_s_t is a class of
  43.                printers, then the request will be printed on the first
  44.                available printer that is a member of the class.  Under certain
  45.                conditions (printer unavailability, file space limitation,
  46.                etc.), requests for specific destinations may not be accepted
  47.                (see _a_c_c_e_p_t(1M) and _l_p_s_t_a_t(1)).  By default, _d_e_s_t is taken from
  48.                the environment variable LLLLPPPPDDDDEEEESSSSTTTT (if it is set).  Otherwise, a
  49.                default destination (if one exists) for the computer system is
  50.                used.  Destination names vary between systems (see _l_p_s_t_a_t(1)).
  51.  
  52.      ----mmmm        Send mail (see _m_a_i_l(1)) after the files have been printed.  By
  53.                default, no mail is sent upon normal completion of the print
  54.                request.
  55.  
  56.      ----nnnn_n_u_m_b_e_r  Print _n_u_m_b_e_r copies of the output.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. LLLLPPPP((((1111))))                           PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss                           LLLLPPPP((((1111))))
  71.  
  72.  
  73.  
  74.      ----oooo_o_p_t_i_o_n  Specify printer-dependent or class-dependent _o_p_t_i_o_n_s.  Several
  75.                such _o_p_t_i_o_n_s may be collected by specifying the ----oooo keyletter
  76.                more than once.  Options containing spaces need to be surounded
  77.                by quotes. eg -o"fontsize 7".  For more information about what
  78.                is valid for _o_p_t_i_o_n_s, see MMMMooooddddeeeellllssss in _l_p_a_d_m_i_n(1M).
  79.  
  80.      ----ssss        Suppress messages from _l_p(1) such as "request id is ...".
  81.  
  82.      ----tttt_t_i_t_l_e   Print _t_i_t_l_e on the banner page of the output.
  83.  
  84.      ----wwww        Write a message on the user's terminal after the _f_i_l_e_s have
  85.                been printed.  If the user is not logged in, then mail will be
  86.                sent instead.
  87.  
  88.      _C_a_n_c_e_l cancels line printer requests that were made by the _l_p(1) command.
  89.      The command line arguments may be either request _i_d_s (as returned by
  90.      _l_p(1)) or _p_r_i_n_t_e_r names (for a complete list, use _l_p_s_t_a_t(1)).  Specifying
  91.      a request _i_d cancels the associated request even if it is currently
  92.      printing.  Specifying a _p_r_i_n_t_e_r cancels the request which is currently
  93.      printing on that printer.  In either case, the cancellation of a request
  94.      that is currently printing frees the printer to print its next available
  95.      request.
  96.  
  97.      The _c_a_n_c_e_l command has the following options for cancelling all pending
  98.      requests:
  99.  
  100.      ----aaaa [[[[pppprrrriiiinnnntttteeeerrrrnnnnaaaammmmeeee]]]]
  101.                -a with no printer name specified cancels all requests on all
  102.                printers.  If a printername is specified after -a then all
  103.                print jobs for that printer are cancelled.
  104.  
  105.  
  106. FFFFIIIILLLLEEEESSSS
  107.      /usr/spool/lp/*
  108.  
  109. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  110.      enable(1), lpstat(1), mail(1), accept(1M), lpadmin(1M), lpsched(1M)
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.